package me.sdevil507.biz.fruit.dto;

import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class ResultHomeListFruitDTO implements Serializable {

    private long id;

    private String name;

    private String type;

    /**
     * 活动成果类型 1：出席会议 2：接受采访 3：考察调研 4：授课培训
     */
    private String activityProdType;

    private String awards;

    private Date pubTime;

    private String journalName;

    private String coorganizer;

    private String press;

    private String grantUnit;

    private String authors;

    private String subLevel;

    private String theme;

    private String meetingTypeName;

    private String visitTypeName;

    public ResultHomeListFruitDTO(long id, String name, String type, String activityProdType, String awards, Date pubTime, String journalName, String coorganizer, String press, String grantUnit, String authors, String theme, String meetingTypeName, String visitTypeName) {
        this.id = id;
        this.name = name;
        this.type = type;
        this.activityProdType = activityProdType;
        this.awards = awards;
        this.pubTime = pubTime;
        this.journalName = journalName;
        this.coorganizer = coorganizer;
        this.press = press;
        this.grantUnit = grantUnit;
        this.authors = authors;
        this.theme = theme;
        this.meetingTypeName = meetingTypeName;
        this.visitTypeName = visitTypeName;
    }

    public ResultHomeListFruitDTO(long id, String name, String type, String activityProdType, Date pubTime, String authors) {
        this.id = id;
        this.name = name;
        this.type = type;
        this.activityProdType = activityProdType;
        this.pubTime = pubTime;
        this.authors = authors;
    }
}
